package section_05;

import java.util.Scanner;

public class chapter_07 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("first:");
        int a = scanner.nextInt();

        System.out.println("second:");
        int b = scanner.nextInt();

        System.out.println("third:");
        int c = scanner.nextInt();

        System.out.println(getMax(a, b, c));
    }

    public static int getMax(int a, int b, int c) {
        return Math.max(Math.max(a, b), c);
    }


}
